﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TainguyenComponent.BLL;

namespace TainguyenComponent.DAL
{
    public interface ITainguyenDAL
    {
        string Connection { get; set; }
        void Get(Tainguyen tainguyen);
        int Add(Tainguyen tainguyen);
        void Update(Tainguyen tainguyen);
        void Delete(Tainguyen tainguyen);
        List<Tainguyen> GetAll(int currentpage, int pagesize, out int total, string ten, string column_sort, string type_sort);
    }
}
